ProjectName.modules.ChangeEmail = {
    init: function () {
        this.formValidation();
    } ,
    formValidation : function () {
        var container = $('div.pageerrorcontainer-validator');
        $("#changeemailfrm").validate({
            errorContainer: container,
            errorLabelContainer: $("div.error-iterator", container),
            wrapper: 'div',
            rules: {
                email: {
                    required: true,
                    email: true
                }
            },
            messages: {
                email: {
                    required: "Email address shouldnot be blank.",
                    email: "Email address is not valid."
                }
            }
        });
    }
}
